//
//  CouponListResModel.swift
//  koolcar
//
//  Created by xiantian on 2023/11/6.
//

import UIKit
import ObjectMapper

class CouponListResModel: Mappable {
    var code: String?
    var msg: String?
    var data: CouponListDataModel?
    
    func mapping(map: Map) {
        code <- map["code"]
        msg <- map["msg"]
        data <- map["data"]
    }
    required init?(map: Map) {
        
    }
}
class CouponListDataModel: Mappable {
    var content: [CouponDataModel]?
    var pageNumber: NSInteger?
    var pageSize: NSInteger?
    var total: NSInteger?
    
    func mapping(map: Map) {
        content <- map["content"]
        pageNumber <- map["pageNumber"]
        pageSize <- map["pageSize"]
        total <- map["total"]
    }
    required init?(map: Map) {
        
    }
}
